package cn.abcsys.devops.application.dao;

import cn.abcsys.devops.application.model.ConfigCore;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository(value="configCoreMapper")
public interface ConfigCoreMapper {
    int deleteByPrimaryKey(Integer configCoreId);

    int insert(ConfigCore record);

    int insertSelective(ConfigCore record);

    ConfigCore selectByPrimaryKey(Integer configCoreId);

    int updateByPrimaryKeySelective(ConfigCore record);

    int updateByPrimaryKey(ConfigCore record);

    List<ConfigCore> selectByApplicationCoreId(Integer applicationCoreId);

    //List<ConfigCore> selectLatestByApplicationCoreId(Integer applicationCoreId);

    Integer selectCountByApplicationCoreId(Integer applicationCoreId);
}